package com.bw.module_home.property.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.Res
import com.bw.module_home.property.model.PropertyEntity
import com.bw.module_home.property.model.TenantEntity
import retrofit2.http.GET
import retrofit2.http.Path

interface PropertyApiService: BaseApiServer {
    @GET("/api/properties/region/{regionId}")
    suspend fun getPropertyList(@Path("regionId")regionId : Int) : Res<PropertyEntity>
    @GET("/api/properties")
    suspend fun getTenantList() : Res<TenantEntity>
}